<!DOCTYPE html>
<html >
	<head>
		<meta charset="utf-8" />
		<script type="text/javascript" src="../js/angular.js" ></script>
		<title></title>
	</head>
	<body ng-app="app" >
		<div ng-controller="ctrl" >
			<!--<select  ng-model="city"	>-->
				<!--<option value=""  >请选择城市</option>-->
				<!--<option ng-value="1" ng-selected="city==1" >南宁</option>-->
				<!--<option ng-value="2" ng-selected="city==2"  >钦州</option>-->
				<!--<option ng-value="3"  ng-selected="city==3" >北海</option>-->
			<!--</select>-->
			<!--{{city}}-->
			<input type="checkbox" ng-model="agree">同意网站协议
			<button ng-disabled="!agree" >注册</button>

			<input type="text" ng-model="user.Name">
			<input type="text" ng-model="user.Mail" ng-readonly="user.Uid" >

		</div>
		<script>
			var app=angular.module("app",[]);
			app.controller("ctrl",["$scope",function($scope){
               // $scope.user={ Name:"张三",Mail:"zhangsan@126.com",Uid:1};
			}]);
			
		</script>
	</body>
</html>
